package com.mayuanfei.controller;

import com.mayuanfei.service.LocalRemoteRetryService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO 类描述
 *
 * @author 老马
 * @date 2025-04-07 15:14
 */
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/localremote")
public class LocalRemoteRetryController {

    private final LocalRemoteRetryService localRemoteRetryService;

    @RequestMapping("/retry")
    public void localRetry(String params) {
        localRemoteRetryService.localRemoteRetry(params);
    }
}